package com.king.tv.bean;

import android.support.annotation.IntDef;

import org.greenrobot.greendao.annotation.Entity;
import org.greenrobot.greendao.annotation.Id;

public class AddUserBean {

    /**
     * isSuccess : true
     * data : {"id":"825a2c7a-5a66-4091-b1e9-ebb279f1084f","flg":"Y","ctime":1565710149469,"mtime":1565710149469,"usercode":"807zc6L9","nickname":"807zc6L9","isvip":"N","viptime":null,"sharenumber":null,"lastlogintime":1565710149469,"sex":"M","birthday":null,"tel":null,"pic":null}
     * errorCode : 0
     * errorDesc : 操作成功
     * elapsedMilliseconds : 0
     * token : null
     * success : true
     */

    private boolean isSuccess;
    private DataBean data;
    private String errorCode;
    private String errorDesc;
    private int elapsedMilliseconds;
    private Object token;
    private boolean success;

    public boolean isIsSuccess() {
        return isSuccess;
    }

    public void setIsSuccess(boolean isSuccess) {
        this.isSuccess = isSuccess;
    }

    public DataBean getData() {
        return data;
    }

    public void setData(DataBean data) {
        this.data = data;
    }

    public String getErrorCode() {
        return errorCode;
    }

    public void setErrorCode(String errorCode) {
        this.errorCode = errorCode;
    }

    public String getErrorDesc() {
        return errorDesc;
    }

    public void setErrorDesc(String errorDesc) {
        this.errorDesc = errorDesc;
    }

    public int getElapsedMilliseconds() {
        return elapsedMilliseconds;
    }

    public void setElapsedMilliseconds(int elapsedMilliseconds) {
        this.elapsedMilliseconds = elapsedMilliseconds;
    }

    public Object getToken() {
        return token;
    }

    public void setToken(Object token) {
        this.token = token;
    }

    public boolean isSuccess() {
        return success;
    }

    public void setSuccess(boolean success) {
        this.success = success;
    }

    public static class DataBean {
        /**
         * id : 825a2c7a-5a66-4091-b1e9-ebb279f1084f
         * flg : Y
         * ctime : 1565710149469
         * mtime : 1565710149469
         * usercode : 807zc6L9
         * nickname : 807zc6L9
         * isvip : N
         * viptime : null
         * sharenumber : null
         * lastlogintime : 1565710149469
         * sex : M
         * birthday : null
         * tel : null
         * pic : null
         */
        private String id;
        private String flg;
        private long ctime;
        private long mtime;
        private String usercode;
        private String nickname;
        private String isvip;
        private Object viptime;
        private Object sharenumber;
        private long lastlogintime;
        private String sex;
        private Object birthday;
        private Object tel;
        private Object pic;

        public String getId() {
            return id;
        }

        public void setId(String id) {
            this.id = id;
        }

        public String getFlg() {
            return flg;
        }

        public void setFlg(String flg) {
            this.flg = flg;
        }

        public long getCtime() {
            return ctime;
        }

        public void setCtime(long ctime) {
            this.ctime = ctime;
        }

        public long getMtime() {
            return mtime;
        }

        public void setMtime(long mtime) {
            this.mtime = mtime;
        }

        public String getUsercode() {
            return usercode;
        }

        public void setUsercode(String usercode) {
            this.usercode = usercode;
        }

        public String getNickname() {
            return nickname;
        }

        public void setNickname(String nickname) {
            this.nickname = nickname;
        }

        public String getIsvip() {
            return isvip;
        }

        public void setIsvip(String isvip) {
            this.isvip = isvip;
        }

        public Object getViptime() {
            return viptime;
        }

        public void setViptime(Object viptime) {
            this.viptime = viptime;
        }

        public Object getSharenumber() {
            return sharenumber;
        }

        public void setSharenumber(Object sharenumber) {
            this.sharenumber = sharenumber;
        }

        public long getLastlogintime() {
            return lastlogintime;
        }

        public void setLastlogintime(long lastlogintime) {
            this.lastlogintime = lastlogintime;
        }

        public String getSex() {
            return sex;
        }

        public void setSex(String sex) {
            this.sex = sex;
        }

        public Object getBirthday() {
            return birthday;
        }

        public void setBirthday(Object birthday) {
            this.birthday = birthday;
        }

        public Object getTel() {
            return tel;
        }

        public void setTel(Object tel) {
            this.tel = tel;
        }

        public Object getPic() {
            return pic;
        }

        public void setPic(Object pic) {
            this.pic = pic;
        }
    }

    @Override
    public String toString() {
        return "AddUserBean{" +
                "isSuccess=" + isSuccess +
                ", data=" + data +
                ", errorCode='" + errorCode + '\'' +
                ", errorDesc='" + errorDesc + '\'' +
                ", elapsedMilliseconds=" + elapsedMilliseconds +
                ", token=" + token +
                ", success=" + success +
                '}';
    }
}
